package com.zh.work.entity.branch;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("机构费率信息实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("branch_fee")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BranchFee extends Model<BranchFee> {
  private static final long serialVersionUID = -2832691921571575761L;
  @ApiModelProperty(value = "branchno", name = "")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "分公司编码", name = "branchno")
  @TableField(value = "branchno")
  private String branchNo;
  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道费率名称", name = "feeName")
  private String feeName;
  @ApiModelProperty(value = "行业类型", name = "industryType")
  private Integer industryType;
  @ApiModelProperty(value = "卡类型", name = "cardType")
  private Integer cardType;
  @ApiModelProperty(value = "费率", name = "rate")
  private Double rate;
  @ApiModelProperty(value = "封顶", name = "fixed")
  private Double fixed;
  @ApiModelProperty(value = "渠道费率ID", name = "feeTypeId")
  private Integer feeTypeId;

}
